package com.jwt.vpower.events
{
	import flash.events.Event;
	
	public class ApplicationEvent extends Event
	{
		public var _content:*;
		public static const UPDATE_CONTENT : String="update content";
		public static const ROOM_SELECTED : String="room selected";
		public static const TIME_OUT : String="time out"
		
		public function ApplicationEvent(type:String,content:*, bubbles:Boolean=false, cancelable:Boolean=false){
			super(type, bubbles, cancelable);
			this._content =content;
		}
		
		public override function clone():Event {
			return new ApplicationEvent(type, _content, bubbles, cancelable);
		}
		
		public override function toString():String {
			return formatToString("ApplicationEvent", "type", "_content","bubbles", "cancelable", "eventPhase");
		}
	}
}